package cn.edu.guet;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//扫描工具类生成bean
//@Import(SpringUtil.class)
//相当于给所有的Mapper接口加@Mapper
@MapperScan("cn.edu.guet.mapper")
@SpringBootApplication
public class SbdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(SbdemoApplication.class, args);
    }

}
